package com.seven.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping
public class RedirectController {

  @GetMapping(value = "/{hello}")
  public String hello(@PathVariable("hello") String hello) {
    return hello;
  }

  @GetMapping("favicon.ico")
  @ResponseBody
  void noFavicon() {
  }

}
